somehow got this crazy thing to all work together