changed model method to delegete