added clearing tables