moving over code from jux-tv