start refactoring transparency example