you probably don't need curly brackets here (the if/else statements)