added working egrep