add extensions after constructing