removed sendUnread function