This is an example i modified a bit. ATM only a working example.