added safe read example.