modified to use paste server