speedup printState
typo + main works now
removed unnecessary declaration
can not modify args.m: still need it further