The importance of an external moral code