duplicate logic
deprecated
initial rework for project converting