fixed typo
Added response codes