Excercise 26 and fixed the errors