use this method in line 101 as well, pass the pointer to Bullet as a parameter