Done excercise 26, fixing wrong code.