pushing XCOMP calculation function