making reduce optional for create_simple_view