added static assert on zone type