Code used in my SharePoint Saturday NJ 2014 presention