remove function completed