updated circuit work