[02-07-13] 'gen-new-state' function added.