repaired bits and pieces here and there to get it functional again