working on templates and mobile view