Added basic model functions