added case insensitive searching