minor change for skip function