adding braces for better reading of the code