Changed variable names to lowercase (needed for pattern matching.)