rearranging views and adding sigma to longevity template