How to suffice the fourth requirement? What's the error in my code?