more sensible imports
avoid dictionary comprehension to maintain 2.6 compatibility