working on circuit analysis