add remove function in order