controller and model added