add functionality to add arguments if not present in rst