extended allocation example