added methods to the class Bullet