adding variable name to print statement