changed design, added region support