I've been struggling with my collision code, this worked flawlessly once i figured out how to apply it. thank you.