modify the initializing condition as a recursion
creat helper folder and change the require file accordingly