added example for usage as an external dependency