remove unused model functions