Conver list code into server sides