shooting funciton added with bug