you should use {} with multiline if-else