working on Get_calculated_data