removed recursion and solely rely on /project, take any problem from here