reduce repeat the send ga code