added setup mode