sample reading

from file/stdin; not finished