As is, the passes are handled by the demo program. The passes should be handled by the LaBGen object in a handy way.