add classes model