setup compression