Some of my private code for learning