reading kind of working, writting not working