Tested with python 3.2.3