formula uses tiem from raw data if present