creating two methods in ideamodel