Fully working for first example.