figured out how to pass a function. Need to enable method passing to avoid static