credit Koichi for the response attributes idea