Added 'clearData()' method