added settype.py