splitting formatModel method