fix: fixed node example so it works with new annotation syntax

was also thinking of adding a test example to this