comments added
changing main to use MessageManager2