CREATE: funcao principal