reworked example code
basic usage example