created DF calc for formats