refactor getSalesInfo