initial conversion to xmlrpc