put the initialization code in a revealing module pattern