functions to include compressive effects