labs refactoring + lab 3