did refactoring lab