add compression as a default argument