added notifications. not currently implemented but the basis is there