Added a limiter to the amt of recoursions