5 zone models code generator