move setup methods to own file