added displaying conditions, editing looping and strategy (not tested)