added get_machines