allow specification of release type