add fns to headers