added method to remove all messages