Added function for shoot