minor changes- user defined string compare function removed