added 2 meth to return message array