added missing remove function