debugging complete except profile definition/running