collision resolving by conversation of momentum