added new Model for both the components