add arguments for def and defs nodes