updated README example to work without the old singleton