some conversion of request stuff