Refactor ebay output