Fixed an EOF error. Have to add those functions back later.