designing Circuits and extract parameter