in different semiconductor regions