optimize for runtime log