started cursor functionality