implementado o pré-ciclo, resolves #7