updated the response builder to deal with successful and erring control