minor bugfixes and new static methods for MY_MODEL