required function updated