Improved readability of code. Reformatted.