add removeSea and compressId functionality