added example usage prototype