Implemented all complex way circuits