more function types, add rdd category