grep now implemented