versao final com GUI