added state information printing