re-integrated read and readinto