video 31: implementing query function