been trying forever to make a proper recursion, but apparently my brain just can't wrap itself around it...