adding legacy option