Make input stateless