hw9- added limiting querry