work in progress on rbf