more work on circuits