working on jank anti trapping code