change some methods to models