Refactoring: using blueprint to make views