Now a working example
Working version