add skip list code