python 2 need explicit object declaration