sourcecode to be shared in my blogs