change query function now shows name of person responsible