added clearing instances