forgot to add res and callback as parameters in function export