passing values to print out