need to fix findAllPath()