Jess Jankowski
President and CEO
Thank you, Tony. Regarding the BASF, I need to get those numbers together. I know that the first quarter number of 2023 was about $500,000 and it was the biggest quarter of the entire experience with the litigation. And in total, for last year, I think we were at around $1.6 million, but I'm not sure if that doesn't include the first quarter of -- the last quarter of 2022. The suit was filed in August of '22. And we started -- legal fees started, as you would imagine, about 2 minutes later. So I'll get that information together. But I mean, essentially, we're in the $1 million range for the rest of the year. Actually, our controller is sitting here and is putting the numbers together. So while he's doing that, I would say that in terms of business as usual, yes.
One specific key criticism, okay, our total for 1.3 was -- for 2023 was $1.3 million and for 2022 was $0.4 million. So $1.7 billion in that period, so call it, $800,000 in the last 3 quarters of 2023. And I'll get that for next time as we talk about, I'll make sure I'm pulling that out, calling that out as the piece of the improvement.
In terms of whether it's same old same old, I would say in the one thing, we were unable to deliver as quickly as BASF wanted in 2021 and parts of 2022, and that had to do with a lot of things, including the COVID response and all the stuff that happened relative to supply chain. But those things were part of the things that we have made some guarantees on making sure that we will not only do better, which we would want to do anyway as part of our business, but also that we will be more transparent with each other on what our inventory is, what their need is, et cetera, which is something that we should have done a long time ago. And I think it's just bringing this whole thing to a head -- push that in that direction. So that was one thing.
Developing the new products. We've always been interested in helping them build that business. And I think codifying that probably helped them internally. I don't want to comment anymore on that piece. But yes, I don't think from the perspective of where we see the business going and growing, I don't think anything is going to change from where we were in 2022. And our further hope is that the business for APIs takes off. The demand is strong there. The business for sunscreen, for noncosmetic, the nonprestige business, which is a lot of the API business we do has been hit lately. So that's contributed probably to the angst over all of it. But the market in total is still growing and minerals are still the area that everybody wants to be in. So from that perspective, I see that as being solid. I'll let -- and regarding your question about the margins.
Part of the reason I wanted that out there also is that we're still a really small company with big things that can impact the margins in a huge way. And if you notice, for instance, we built a fair amount of inventory in Q1. And not to bore anybody who doesn't understand cost accounting out there. But essentially, if you don't consistently hold that inventory level or on the build, when you sell it, you take a hit for the overhead absorption coming back through. And so it's -- I have a feeling the number is going to be fluid, but we think relative to us getting through the year, that 35% to 40% range is what we've targeted. And I think we'll be able to get there barring just -- the biggest challenge, I think, has been relative to financial results, I think, kind of lumpy demand. We had some issues that we've addressed in terms of getting things out the door when we can. But we also have the nature of a quickly growing business with new customers, quickly growing customers. and they have their share of those challenges.
One of their challenges that we probably discussed more in 2022 than in '23 because '23 challenges, we had our own contribution to them is that for the business that we do, that's not what we call turnkey, meaning that the customer supply is the packaging and labels and all the components, there have been a lot of holdups here and there on that as well. And in some cases, you've got customers that may be existing companies that are relatively new to this market in particular. So that all adds to the lumpiness of it. My greatest wish always is that our revenue grows every week and the weekly volume stays flat or grows every week, which we can't always have. But that's been I guess, that's my disclaimer on whether we had $35.1 million minimum in every quarter, but that's the range that we expect to hit and steady volume has something to do that.
With that, I'll hand it over to Kevin to discuss the -- your question on the $40 million backlog and where that's at.