logic diagram was created