What's wrong with my code. Not validated for case zero.