4ys: add details on code to select available actions