add tcpcopy and pagination