Added the skip function