bug fix, add cursor, cursor movements