Adds 'state' string to sample