simpler get_actions()