add addEntryPoint method