added function body for deltaELO function