removed collision detection to avoid stackoverflow