this is a working, formatted version of the cbh project with opt3