use curly braces for less confusing line