filled in framework for main bin file