initial startup code