Updated post to add a code sample for reference