Add announcement read function
Fixed errors
merged working stuff