add basic example without callback