Removed recursive algorithm since project is live