attempt at compression