IT is modified the program to work with several messages.