add marks before search