can't snap-shell from subroutine -- doing it old-style