before pull
added correction feature and tests