added cursor pointer