Step 7 - implementing the read operation