with factor calculations