fazendo funcao delete / making delete function