Added incomplete grep function