internal mechanism design