added some collision detection not tested yet