Tentatively working recursively. Will test to confirm.