created reduce point code, untested