set proper entry point