add some Huber loss stuff