under working,  add transfer function
under working,  modify transfer function base, implement header parser