calling state debug