prototype of rbf