fix spacing and comments
condense request string construction