updated view class
updated Request class