add skip function.