generation with model stub (still prototyping)