first cut at rpi