Added new Example based on http://pastebin.com/LLLhHvqJ