deflate the data
minor generalizations