part_3: added trend calculation