half baked logic