annotate: add transform functionality !buggy