Build correct model