better 3to2 compatibility