use compact, not delete {...}