added multiple cursor mode