removed an unnecessary restriction in exercise 7.5