changed to allow single branch extensions