A bit messy, but it might actually work this time