added notify routine