working on models
changing document structure
definition class