Added delta and fixed dist