Gun control logic