use items/values for python2/3 compat