change to items() for 3.x compatibility