finished advdecode