control condition implemented