Removed bits that YSTV don't need. Might be broken tho