First version that works.