ajustando as bases e preparando o codigo