took out console logging