tweaking grep formatting