some changes. some output info added