updated blog with working code