rename request to payload and add comments