janky working version