add operations weight attributes