legend inside