setup init for lazy loading