screw logic