functional programming - added.