added getnotices and addnotices