Version 1.1

Modified sendMessages() method. Removed redundant code.