Adding referential transparency example