setup2 for generic setup