inital addition of refactoring exercise