encapsulated parameters and loop variables in context
fixed -i command line arg
starting code gen on functions