adding dynamic respond method