Pattern recognition impklmented, error comensation appliead and timing between command modified