made changes to Request class