read/write works, but not too long integers