refactor array for secret_number