Removed some console logging from code