adding cursor pointer