changes based on nosetests