add ack and greplace