improved the knockout example