moved return message to public var