learn to init from local