added onCollision to GameObject