added cursor pointer for expand search