Worked but too slow.