Sample code for article on Habrahabr