accuracy and readInput to the latest version