added sql server check