degreemap added in toinds.py