fixed the rest of the program .. we think