multiple shells and terms