Program now runs but is not fully functional.