working on the rbf module