Use better read/write methods