Fix region class
Add sample for regions