added example. and small fix.