adding cursor