Program now fully functional.