Added simple refuctoring example