add docs and request.php