added case insensitive search