Got the cursorToLine2() function up and running