commit before chcnging led data to class