Sample of codes posted in blog