I believe that this is naturally, so I don't no, why this is a bad code, and anyway I can't see any better approach. Can you suggest any? (And explain your point, if you have time and desire - I mean something other than perfomance - because perfomance is not such a criterion for code 	
corpulence)