Little piece of deac code. Thx, @gdmac