replacing ack with ag for searching