Removed irrelevant debugging code