why '}' is on a separate line?