XXX: removed types
XXX: removed compression