cursor movement added