removed some debugs to make it faster