added logicstub for testing