Python 2.6: does not support dict comprehension
added dict constructor