changed solution