working toward autorepl
working... kind of