added example for how to use