made orphan branches optional