only the recursive solution