implement numerical I/O
Merge branch 'numerical-io'