completed documentation of class Model