aadding the top shell
aadding altered mealy and moore shell