Working with collision.