changed order of arguments for local_complexity