removed semicolumns and an assert method that does not exist in python 2.6