move some code in MyBullet to Bullet