added internal template and css