style and stub implementation of remove