cleaner collision code