falta threads e recursao