changed key grep to value greps as was supposed to be