address review comments
fix shared context example