constant ROOT_MODE added