initial try of read/unread api functions