changed methodology on request.class