implement remove observer method