updated README and sample