[Custom] generating control models