Yep thanks unread function now working