changed Clear API