models and controllers working