switch to text db