switch to xmlrpc