working on short-circuiting gini