added grep to ts