modified player collision code
added a wonderful thing