lots of working catalog code