This is more my style: Functional programming to reduce confusion.