Only Fox algorithm itself left to implement.