added skeleton of procedural grep