added general styling also templatazation