init setup - from leapbase