renamed some vars/params in '_extends'