Add receive notifications function