working on views and controllers