the logic engine is working!!!!!