working on unit tests and finishing up grep results