when all if conditions are on the same line, the closing bracked should be on the same line too