start of something great and failed (refactoring)