Some modeling (not sure about actual code yet).