fixed up printing