http://soar.berkeley.edu/recipes/copycat/indexall.html