replaced text datatypes with varchar