elsifs and reordered