changed string comparison