a refactoring kata with concurrency