updated and fixed indentation of views