spelling
add main flag
apply main flag in determine_statistical