implemented the output of tg_phosphorylation and tg_dephosphorylation