refactor request packets