all goods output lack refactoring