added better calculation of skipped moves