make extensions optional