added the rest or deflate_* functions