DRY rule putted into practise