Fetched the fields from the message sent to index.js