Fixed example with weight & delay