Better if-statement internal structure