Finished but small bug with sync read