Trying to get shoot function to work