updated refactoring lab