refactored print model, can build and print messages
fiexed merge conflict