working on models and views