finally tilecollision done!