extension code and associations