adding Rima's queries