changed string comparison to ignore case