examples updated to use 'require' instead of 'load'