changed collision detection, more realistic