made model and controller