Changed the messages to arrays.