added example and better usage docs