add weight example