added a grep macro