turtlehandler functioning

but needs improvement