make drawing function better and add bullet functions