made variables case insensitive