making notificationurl optional