add clear and load events.