Why are lines 7-10 needed? Have you tried without them?