Code simplification. Not as elegant, but it works and it is understandable.