removed collision code; it was worthless and hard to read