init
added comments
added code to produce image
init