added function for admin notice