changed the accuracy variable to be more easily modified