cleaned up printing