removed old startup code