added support for teradata