inactivity is now by region

still need to write tests