add clear plane and unread function