flushed out controller bpm code