moved more magic numbers into custom.py