rebuilt expected output per Malachi