there is now a util for this