try block for read