change name 'middle' to 'equals'