finished 'conditions' module