added sql factornames