add snippet for function header