Added printing which phi is used to stdout