made it write as binary