apply format