with left recursion the lists are now reversed; fixed for actions