added case insensitive search option