some more tinkering with binary files