Updated to reflect the .read() method callback change