please be consistent with curly braces