replace the $model var with $REAL_MACHINE