use wire instead of reg