I posted some code that works in CODE EXAMPLES