removed passing in request from view