add a simpler ( sync ) example