updated template for proper spacing