reading binaries implemented