add method to clear the database