Quick change to anonymous function