fixed read methods, but still not working yet