rename input -> request