model and controller added