Functional vs imperitive - a trivial example