use python2-compatible kwargs syntax