added some mssql stuff