removed some superfluous nslog statements