generate param list for functions now

still untyped though