Simplified the solution to exercise 2.28 (fringe)