Modified else if