add initWithName for building