set base attributes