cross entropy works