repositioning instance and class name for circuits