change region fn to class methods