master build struct