Working on logicBox class