updated formatting so curly braces are not on it's own line