added another variant for average