Refactor output method (now parent it's in constructor)