adding cursor pointer to the lis