add transform
Remove examples and in-line the write callback