prototype for pyrpc