using the Richard algorithm now