changed normal function to anonymous function