basic loader for runtime