added delete + compress feature