added valid resposne codes