add static flag for unit