loophandler basics