Commented out some debug to decrease the clutter in the logs.