++ Commented the recursive functionality.