Does this #if, elsif make sense?