This if else block is missing curly brackets