changed solution hierarchy