refactored methods, printouts