added some collision detection methods
some collision testing