Sysout refactoring