change struct machine