- Code commentary added.