R5 in progress. Rough w/pseudocode. Still working on it :P