adding legacy