cleaned up setter.py