move to Request class