gem refactoring - 4a printer obj