added clearing