modified isSetup