Changing the genric.py code slightly