updated search to be case-insensitive