eliminate need for custom.py