add constructor for bullet class