fixing print methods