info: simplify determine_action