dual class functions moved to mobius.py