logic of sequential circuits 211387