Added comments for cleaner code.