collision with walls accomplished