added recursive method