added main and footer tags