add notification to functionality