Fully functioning example.