Server side code for skip