optimize startup time