Updated to make the processor synchronous