Given there was a complete implementation it was porting, the simplest thing possible has a greater chance of working.