changed table and added text at top and text at bottom on template page