Imagine is a synonym of Think. Think is related to Function. Function is a synonym of Occasion. Occasion is related to Random. 
Effort is related to Good. 
Imagine <--Synonym--> Think <--RelatedTo--> Function <--Synonym--> Occasion <--RelatedTo--> Random 
Effort <--RelatedTo--> Good 