add in some documentation for resp