Made the code nicer and better readable.