Added doMessage function to make a message appear
Added doMessage function to make a message appear