simple knockout model generation