adding in aistatmachine