overloaded a deflate method to use the other impl