Problem number 5 solved