Save output moved to function
debug reverse data read
closes #29