addded machine simulator prototypes