gun working