finished model generate