Created function for each of the four indicators