generalized formated response