Little fix to problem 5