starting trap loops