added weight based on delta