Updating code for legibility.