Thinking is related to Reason. Reason is related to Thought. Thought is related to Imagination. 
Safe is related to Code. Instruction is a type of Code. 
Thinking <--RelatedTo--> Reason <--RelatedTo--> Thought <--RelatedTo--> Imagination 
Safe <--RelatedTo--> Code <--IsA-- Instruction 