Refactored the initial transform into a lazy variable