layed out some collision code