added documentation for model