implemented server to client pipeline