Update todo
Add old ruby impl as reference