get rid of named function since we are using anonymous.