avoid using uninitialized vars