taking out nslog statements