done all recognition and corection