updating to add case insensitivity