the gunman stepped out of the building next door , one arm extended , and danny took the lid off a trash can and knocked the pistol out of his hand and the gun went off again and danny hit him in the forehead .