controle op optionals