change cursor, add precedence