Removed troubleshooting code