added secret_base