use reducer based on rwa key