implement class bullet