move attributes into Binding object