moved RUNTIME_CACHE to the beginning