add function params files

did a rebase and put my work on top of master of upstream