check the response status
remove output if nothing is found
update generator pattern