cursor functionality now working, conflicts avoided