add the flat model