changed solution type