implementing Request class