simplified big coreTrans function to run the sub-functions