modified: rm func