working it out in Models