added: version in class comment
updated: print output vars in log