Why `parts` are declared here? They are not used for HTML part of if/then/else