both are types of guns