Model generator sorta-kinda-working