tweaked richter slightly.