Added printing method