updated machine sets code for consistancy