reworked class example in readme