added function entryMessage() to main, not implemented