start of init and init menu